package com.sl.au.entity;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.OneToOne;
import javax.persistence.Table;

/**
 * 应收账计划计划表
 * @author Administrator
 *
 */
@Entity
@Table(name="sl_crm_accountsReceivablePlan")
public class AccountsReceivablePlan extends Root {

	//应收账计划类型id
	@OneToOne(optional=true) 
	@JoinColumn(name="sAccountsReceivableTypeId")
	private AccountsReceivableType sAccountsReceivableTypeId;
	//合同id
	private java.lang.String sContractId;
	//合同类型
	private java.lang.String sContractType;
	//计划金额
	private double nTotalPrice;
	//备注
	private java.lang.String sMemo;
	//计划时间
	private java.util.Date dAccountsReceivablePlanDate;
	private java.lang.String sCreateUserId;
	public AccountsReceivableType getsAccountsReceivableTypeId() {
		return sAccountsReceivableTypeId;
	}
	public void setsAccountsReceivableTypeId(AccountsReceivableType sAccountsReceivableTypeId) {
		this.sAccountsReceivableTypeId = sAccountsReceivableTypeId;
	}
	public java.lang.String getsContractId() {
		return sContractId;
	}
	public void setsContractId(java.lang.String sContractId) {
		this.sContractId = sContractId;
	}
	public java.lang.String getsContractType() {
		return sContractType;
	}
	public void setsContractType(java.lang.String sContractType) {
		this.sContractType = sContractType;
	}
	public double getnTotalPrice() {
		return nTotalPrice;
	}
	public void setnTotalPrice(double nTotalPrice) {
		this.nTotalPrice = nTotalPrice;
	}
	public java.lang.String getsMemo() {
		return sMemo;
	}
	public void setsMemo(java.lang.String sMemo) {
		this.sMemo = sMemo;
	}
	public java.util.Date getdAccountsReceivablePlanDate() {
		return dAccountsReceivablePlanDate;
	}
	public void setdAccountsReceivablePlanDate(java.util.Date dAccountsReceivablePlanDate) {
		this.dAccountsReceivablePlanDate = dAccountsReceivablePlanDate;
	}
	public java.lang.String getsCreateUserId() {
		return sCreateUserId;
	}
	public void setsCreateUserId(java.lang.String sCreateUserId) {
		this.sCreateUserId = sCreateUserId;
	}
	
}
